import Vue from 'vue'
import {
  InputNumber,
  Form,
  FormItem,
  Input,
  TableColumn,
  Table,
  Dropdown,
  Header,
  MenuItem,
  MenuItemGroup,
  Main,
  DropdownItem,
  DropdownMenu,
  Aside,
  Menu,
  Submenu,
  Container,
  Button,
  Select
} from 'element-ui'
[
  InputNumber,
  Form,
  FormItem,
  Input,
  TableColumn,
  Table,
  Dropdown,
  Header,
  MenuItem,
  MenuItemGroup,
  Main,
  DropdownItem,
  DropdownMenu,
  Aside,
  Menu,
  Submenu,
  Container,
  Button,
  Select
].map(item => {
  Vue.use(item)
})

// import { Button, Select } from 'element-ui'
// const element = {
//   install: function (Vue) {
//     Vue.use(Button)
//     Vue.use(Select)
//   }
// }
// export default element
// maim.js引用
// import element from './components/elementui/index'
// Vue.use(element)
